<div class="panel panel-default" ng-controller="PriceListCtrl">
	<div class="panel-heading">
		城际约租 / 定价模版
	</div>
	<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
	<div class="row wrapper m-n">
		<form class="bs-example form-horizontal ng-pristine ng-valid">
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.code" class="form-control" placeholder="编号">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<button type="button" class="btn btn-info" ng-click="query()">查询</button>
				</div>
			</div>
		</form>
	</div>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;"></th>
					<th style="width:70px;">编号</th>
					<th style="width:70px;">单价</th>
					<th style="width:70px;">附加价</th>
					<th style="width:70px;">价格折扣倍率</th>
					<th style="width:70px;">4人包车折扣价</th>
					<th style="width:70px;">6人包车折扣价</th>
					<th style="width:80px;">
						<a href tooltip="添加模版" has-authority="RENT_PRICE_ADD">
							<i class="fa fa-plus fa-fw m-r-xs" ng-click="write('lg',null,'insert')"></i>
						</a>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="pic in dataList">
					<td></td>
					<td>{{pic.code}}</td>
					<td>{{pic.price| number:2}}</td>
					<td>{{pic.priceEx| number:2}}</td>
					<td>{{pic.incrRatio}}</td>
					<td>{{pic.discount1 | number:2}}</td>
					<td>{{pic.discount2 | number:2}}</td>
					<td>
						<a href tooltip="修改" has-authority="RENT_PRICE_UPDATE">
							<i class="fa fa-pencil fa-fw m-r-xs" ng-click="write('lg',pic,'update')"></i>
						</a>
						<a href tooltip="删除" has-authority="RENT_PRICE_DEL">
							<i class="fa fa-times fa-fw" ng-click="del('sm',pic ,'delete')"></i>
						</a>
					</td>
				</tr>
				<tr ng-show="dataList.length==0">
					<td colspan="8" style="text-align: center;">暂无定价模版信息</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>